<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>管理面板</title>
    <link rel="stylesheet" href="__WEUI__/style/weui.css"/>
    <link rel="stylesheet" href="__WEUI__/example/example.css"/>
</head>
<body ontouchstart>

    <div class="page__bd">
    <div class="page__hd">
        <h1 class="page__title">{$shop.title}-{$user.name}
        <a class="page__title" href="{:url('index',['id'=>$user['id'],'openid'=>$openid,'time'=>time()])}"><i class="weui-icon-success"></i></a></h1>
        <p class="page__desc">相信我们能创造奇迹</p>
    </div>
    <div class="weui-cells__title">随时完善您的档案</div>
        <div class="weui-cells">
            <a class="weui-cell weui-cell_access" href="{:url('edit',['id'=>$user['id']])}">
                <div class="weui-cell__bd">
                    <p>完善信息</p>
                </div>
                <div class="weui-cell__ft">修改</div>
            </a>
            <a class="weui-cell weui-cell_access" href="{:url('kpi/index/mygood',['openid'=>$openid])}">
                <div class="weui-cell__bd">
                    <p>本月绩效</p>
                </div>
                <div class="weui-cell__ft">{$kpi_good}</div>
            </a>
            <a class="weui-cell weui-cell_access" href="{:url('kpi/index/mybad',['openid'=>$openid])}">
                <div class="weui-cell__bd">
                    <p>本月惩罚</p>
                </div>
                <div class="weui-cell__ft">{$kpi_bad}</div>
            </a>
            <a class="weui-cell weui-cell_access" href="javascript:;">
                <div class="weui-cell__bd">
                    <p>员工卡</p>
                </div>
                <div class="weui-cell__ft">{$user.amount}</div>
            </a>
        </div>
    <div class="weui-cells__title">营业相关</div>
        <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:url('we/desk/desks',['aid'=>$user['aid']])}">
                <div class="weui-cell__bd">
                    <p>餐桌管理</p>
                </div>
                <div class="weui-cell__ft">进入</div>
        </a>  
        <a class="weui-cell weui-cell_access" href="{:url('buy',['shopid'=>$user['shopid']])}">
                <div class="weui-cell__bd">
                    <p>营业报表</p>
                </div>
                <div class="weui-cell__ft">{$buy_total}</div>
        </a>
         <a class="weui-cell weui-cell_access" href="">
                <div class="weui-cell__bd">
                    <p>会员余额</p>
                </div>
                <div class="weui-cell__ft">{$amount_sum}</div>
        </a>  
         <a class="weui-cell weui-cell_access" href="">
                <div class="weui-cell__bd">
                    <p>今日充值</p>
                </div>
                <div class="weui-cell__ft">{$amount_add}</div>
        </a>  
         <a class="weui-cell weui-cell_access" href="">
                <div class="weui-cell__bd">
                    <p>今日消费</p>
                </div>
                <div class="weui-cell__ft">{$amount_sale}</div>
        </a>
        </div>
   

    <div class="weui-cells__title">顾客行为</div>
        <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:url('feed',['shopid'=>$user['shopid'],'admin_openid'=>$openid])}">
                <div class="weui-cell__bd">
                    <p>客情管理</p>
                </div>
                <div class="weui-cell__ft">{$feed_total}</div>
        </a>
        <a class="weui-cell weui-cell_access" href="javascript:;">
                <div class="weui-cell__bd">
                    <p>微信打印</p>
                </div>
                <div class="weui-cell__ft">{$print_total}</div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:url('scan',['shopid'=>$user['shopid']])}">
                <div class="weui-cell__bd">
                    <p>扫码管理</p>
                </div>
                <div class="weui-cell__ft">{$scan_total}</div>
        </a>  
        </div>

    <div class="weui-cells__title">员工管理</div>
        <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:url('kpi/index/index',['openid'=>$openid])}">
                <div class="weui-cell__bd">
                    <p>计件考核</p>
                </div>
                <div class="weui-cell__ft">进入</div>
        </a>
        </div>
    <div class="page__ft">
        <a href="javascript:home()"><img src="__WEUI__/example/images/icon_footer_link.png" /></a>
    </div>
   
</div>

   
</body>
<script type="text/javascript" src="__JS__/jquery.min.js"></script>
<script src="__JS__/plugins/layer/layer.min.js" type="text/javascript"></script>

<script type="text/javascript" src="__JS__/common.js"></script>
<script type="text/javascript" src="__JS__/toast.js"></script>
</html>
